{extend name="public/layout" /}
{block name="head"}{/block}
{block name="body"}

<body>
  <div class="container-fluid p-t-15">
    <div class="card">
      <div class="card-header">
        <h4>修改账户信息</h4>
      </div>
      <div class="card-body">
        <form class="form-horizontal" id="form" data-call="none">
          <div class="form-group">
            <label class="col-sm-2 col- control-label">用户名</label>
            <div class="col-sm-6">
              <input type="text" class="form-control" name="username" value="{$info.username}" datatype="*4-32" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">手机号</label>
            <div class="col-sm-6">
              <input type="text" class="form-control" name="mobile" value="{$info.mobile}" ignore="ignore"
                datatype="m" />
            </div>
          </div>
          <div class="form-group">
            <label class="col-sm-2 control-label">姓名</label>
            <div class="col-sm-6">
              <input type="text" class="form-control" name="name" value="{$info.name}" datatype="*" />
            </div>
          </div>
          <div class="form-group">
            <div class="col-sm-10 col-sm-offset-2">
              <div class="pull-left">
                <button type="button" class="btn btn-primary btn-sub">保存</button>
                <button type="button" class="btn btn-default btn-reset">重置</button>
              </div>
              <div class="pull-left m-l-15">
                <p class="error-msg"></p>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
  <script>
    formHelper.subForm();
  </script>
</body>
{/block}